package com.ql.dao.keshi;

import com.ql.pojo.keshi.Gonneng;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GonnengMapper {
    int save(Gonneng gonneng)throws Exception;

    List<Gonneng> qryAll(@Param("start") int start,
                        @Param("end") int end,
                        @Param("name")String queryname
    ) throws Exception;
    int qryCount(@Param("name")String queryname) throws Exception;

    //cg病案管理
    Gonneng qryGNKByUId(@Param("UId")int UId) throws Exception;
}
